package com.zy.rpc.provider.services;


import com.zy.rpc.api.HelloService;
import com.zy.rpc.server.annotation.RpcService;

/**
 * @atuthor zy
 * @date 2023/4/23 16:19
 */


@RpcService(interfaceType = HelloService.class,version = "1.0")
public class HelloWorldServiceImpl implements HelloService {


    @Override
    public String sayHello(String name) {
        return "hello";
    }

    @Override
    public String sayGoodBye(String name) {
        return "goodbye";
    }
}
